<?php 
    $formulario = mktime(date("his"));
    $id_vent="vent_".$formulario;
    $this->Vista->ventana(DOCULTO, DVENTANA, 'BUSQUEDA FILTRADA', 'Sigesp/movimiento_de_materiales_busqueda', $formulario, 'buscar', 0, '600', '300', $id_vent); //245
?>
<div id="<?php echo DVENTANA; ?>_2" style="display:none;" class="x-hide-display">
    <?php echo $this->Interfaz->formulario($formulario);?>
    <?php echo $this->Interfaz->filset('Filtros de la Busqueda',0,0,'gray',1);?>
    <?php echo $this->Interfaz->inputoculto('id_vent',$this->Interfaz->id($id_vent));?>
    <table border='0' cellpadding='15' cellspacing='15' width='95%' align='center' style="border:5;">
        <tr>
            <td align="right" width="50%">N&uacute;mero(s) de Documento(s)&nbsp;&nbsp;</td>
            <!--<td align="right" width="60%">Numero de Documento&nbsp;&nbsp;</td>-->
            <!--<td align="left"><?php //echo $this->Interfaz->input('documento', 10, 'numerico', 'inputn', 5, 10, '', 0, 0, 'Numero de Documento', null); ?></td>-->
            <?php $valida = "this.value=this.value.replace(/[^0-9\s]/, '')"; ?>
            <td align="left"><?php echo $this->Interfaz->input('documento', 10, 'textarea', 'inputn', 0, 255, '', 0, 0, 'Numero(s) de Documento(s)', '', array('rows' => 2, 'cols' => 15, 'style' => 'resize: none', 'onkeyUp' => $valida)); ?></td>
        </tr>
        <tr><td align="center" colspan="2">&oacute;</td></tr>
        <tr>
            <td align="right" valign='top'>Fecha de Documento&nbsp;&nbsp;</td><td align="left">
            <?php
                echo $this->Interfaz->input('fechaMat', 10, 'fecha', 'inputn', 0, 11, '', 0, 0, 'Fecha de Documento');
                $des = date('d-m-') . (date('Y') - 3);
                $has = date('d-m-') . (date('Y'));
                echo $this->Interfaz->calendario('fechaMat', null, $des, $has);
                ?>
            </td>
        </tr>
        <tr>
            <td align="c" colspan="2">
                <font style="font-size:11px; color:red;">Escriba el(los) <b>Numero(s)</b> &oacute; la <b>Fecha</b> del(los) Documento(s) a buscar</font>
            </td>
        </tr>
    </table>
    <?php echo $this->Interfaz->filset();?>
    </form>
</div>